<template>
  <div class="header">
    <div class="gohome" @click="$router.push('/')">
      <img src="@/assets/imag/wangyiyun.png" alt="" />
    <span>网易云音乐</span>
    </div>
    <div class="navigation">
      <div class="left" @click="$router.go(-1)"><</div>
      <div class="right" @click="$router.go(1)">></div>
    </div>
    <div class="input_box">
      <el-input class="input_search" placeholder="搜索音乐,视频,歌词,电台">
        <el-button slot="append" icon="el-icon-search"></el-button>
      </el-input>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang='less'>
.header {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  .gohome{
    display: flex;
  align-items: center;
  cursor: pointer;
    img {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  span {
    font-size: 20px;
    color: white;
    margin: 0 5px;
    vertical-align: middle;
  }
  }

  // 导航按键
  .navigation {
    display: flex;
    font-size: 30px;
    margin-left: 100px;
    color: #fff;
    height: 30px;
    line-height: 100%;
    align-items: center;
    .left,
    .right {
      border: 1px solid #a82828;
      cursor: pointer;
    }
  }

  // 输入框
  .input_box {
    margin-left: 20px;
    width: 400px;
    .input_search {
    }
  }
}
</style>